home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1990 September: Essentials 4 / ADC Developer CD (1990-09) [Essentials 4]_iso / Developer Essentials 4.iso / d e v e l o p / develop 3 code / Surf's Up! / Interfaces / CIncludes / CMIntf.h next >
MacBinary  |  1989-11-17  |  7.0 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Fri Nov 17 00:00:00 1989, modified Fri Nov 17 00:00:00 1989, creator 'MPS ', type ASCII, 6629 bytes "CMIntf.h" , at 0x1a65 347 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 43 4d 49 6e 74 66 | 2e 68 00 00 00 00 00 00 |..CMIntf|.h......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 19 e5 00 | 00 01 5b a1 89 40 d0 a1 |........|..[..@..|
|00000060| 89 40 d0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.@......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c8 1d 00 00 |........|........|
|00000080| 2f 2f 0d 2f 2f 09 43 4d | 49 6e 74 66 2e 68 0d 2f |//.//.CM|Intf.h./|
|00000090| 2f 09 43 20 49 6e 74 65 | 72 66 61 63 65 20 74 6f |/.C Inte|rface to|
|000000a0| 20 74 68 65 20 43 6f 6e | 6e 65 63 74 69 6f 6e 20 | the Con|nection |
|000000b0| 4d 61 6e 61 67 65 72 0d | 2f 2f 09 0d 2f 2f 09 43 |Manager.|//..//.C|
|000000c0| 6f 70 79 72 69 67 68 74 | 20 a9 20 41 70 70 6c 65 |opyright| . Apple|
|000000d0| 20 43 6f 6d 70 75 74 65 | 72 2c 20 49 6e 63 2e 20 | Compute|r, Inc. |
|000000e0| 31 39 38 38 2c 20 31 39 | 38 39 0d 2f 2f 09 41 6c |1988, 19|89.//.Al|
|000000f0| 6c 20 72 69 67 68 74 73 | 20 72 65 73 65 72 76 65 |l rights| reserve|
|00000100| 64 0d 2f 2f 0d 2f 2f 0d | 0d 23 69 66 6e 64 65 66 |d.//.//.|.#ifndef|
|00000110| 09 5f 5f 43 4d 49 4e 54 | 46 5f 5f 0d 23 64 65 66 |.__CMINT|F__.#def|
|00000120| 69 6e 65 20 5f 5f 43 4d | 49 4e 54 46 5f 5f 0d 0d |ine __CM|INTF__..|
|00000130| 23 69 66 6e 64 65 66 20 | 5f 5f 44 49 41 4c 4f 47 |#ifndef |__DIALOG|
|00000140| 53 5f 5f 0d 23 69 6e 63 | 6c 75 64 65 20 3c 44 69 |S__.#inc|lude <Di|
|00000150| 61 6c 6f 67 73 2e 68 3e | 0d 23 65 6e 64 69 66 0d |alogs.h>|.#endif.|
|00000160| 0d 23 69 66 6e 64 65 66 | 20 5f 5f 43 54 42 55 54 |.#ifndef| __CTBUT|
|00000170| 49 4c 53 5f 5f 0d 23 69 | 6e 63 6c 75 64 65 20 3c |ILS__.#i|nclude <|
|00000180| 43 54 42 55 74 69 6c 73 | 2e 68 3e 0d 23 65 6e 64 |CTBUtils|.h>.#end|
|00000190| 69 66 0d 0d 2f 2f 09 63 | 75 72 72 65 6e 74 20 43 |if..//.c|urrent C|
|000001a0| 6f 6e 6e 65 63 74 69 6f | 6e 20 4d 61 6e 61 67 65 |onnectio|n Manage|
|000001b0| 72 20 76 65 72 73 69 6f | 6e 20 0d 23 64 65 66 69 |r versio|n .#defi|
|000001c0| 6e 65 09 63 75 72 43 4d | 56 65 72 73 69 6f 6e 20 |ne.curCM|Version |
|000001d0| 09 09 31 0d 0d 2f 2f 09 | 63 75 72 72 65 6e 74 20 |..1..//.|current |
|000001e0| 43 6f 6e 6e 65 63 74 69 | 6f 6e 20 4d 61 6e 61 67 |Connecti|on Manag|
|000001f0| 65 72 20 45 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 52 |er Envir|onment R|
|00000200| 65 63 6f 72 64 20 76 65 | 72 73 69 6f 6e 20 0d 23 |ecord ve|rsion .#|
|00000210| 64 65 66 69 6e 65 09 63 | 75 72 43 6f 6e 6e 45 6e |define.c|urConnEn|
|00000220| 76 52 65 63 56 65 72 73 | 09 30 0d 09 0d 2f 2f 20 |vRecVers|.0...// |
|00000230| 43 4d 45 72 72 20 0d 74 | 79 70 65 64 65 66 09 4f |CMErr .t|ypedef.O|
|00000240| 53 45 72 72 20 43 4d 45 | 72 72 3b 0d 0d 23 64 65 |SErr CME|rr;..#de|
|00000250| 66 69 6e 65 20 63 6d 47 | 65 6e 65 72 69 63 45 72 |fine cmG|enericEr|
|00000260| 72 6f 72 20 09 09 2d 31 | 0d 23 64 65 66 69 6e 65 |ror ..-1|.#define|
|00000270| 09 63 6d 4e 6f 45 72 72 | 09 09 09 09 30 0d 23 64 |.cmNoErr|....0.#d|
|00000280| 65 66 69 6e 65 20 63 6d | 52 65 6a 65 63 74 65 64 |efine cm|Rejected|
|00000290| 09 09 09 31 0d 23 64 65 | 66 69 6e 65 20 63 6d 46 |...1.#de|fine cmF|
|000002a0| 61 69 6c 65 64 09 09 09 | 32 0d 23 64 65 66 69 6e |ailed...|2.#defin|
|000002b0| 65 20 63 6d 54 69 6d 65 | 4f 75 74 09 09 09 33 0d |e cmTime|Out...3.|
|000002c0| 23 64 65 66 69 6e 65 20 | 63 6d 4e 6f 74 4f 70 65 |#define |cmNotOpe|
|000002d0| 6e 09 09 09 34 0d 23 64 | 65 66 69 6e 65 20 63 6d |n...4.#d|efine cm|
|000002e0| 4e 6f 74 43 6c 6f 73 65 | 64 09 09 09 35 0d 23 64 |NotClose|d...5.#d|
|000002f0| 65 66 69 6e 65 20 63 6d | 4e 6f 52 65 71 75 65 73 |efine cm|NoReques|
|00000300| 74 50 65 6e 64 69 6e 67 | 09 36 0d 23 64 65 66 69 |tPending|.6.#defi|
|00000310| 6e 65 20 63 6d 4e 6f 74 | 53 75 70 70 6f 72 74 65 |ne cmNot|Supporte|
|00000320| 64 20 09 09 37 0d 23 64 | 65 66 69 6e 65 20 63 6d |d ..7.#d|efine cm|
|00000330| 4e 6f 54 6f 6f 6c 73 09 | 09 09 38 09 0d 0d 0d 2f |NoTools.|..8..../|
|00000340| 2f 20 43 4d 52 65 63 46 | 6c 61 67 73 20 61 6e 64 |/ CMRecF|lags and|
|00000350| 20 43 4d 43 68 61 6e 6e | 65 6c 0d 2f 2f 09 09 4c | CMChann|el.//..L|
|00000360| 6f 77 20 77 6f 72 64 20 | 6f 66 20 43 4d 52 65 63 |ow word |of CMRec|
|00000370| 46 6c 61 67 73 20 69 73 | 20 73 61 6d 65 20 61 73 |Flags is| same as|
|00000380| 20 43 4d 43 68 61 6e 6e | 65 6c 0d 74 79 70 65 64 | CMChann|el.typed|
|00000390| 65 66 20 6c 6f 6e 67 20 | 43 4d 52 65 63 46 6c 61 |ef long |CMRecFla|
|000003a0| 67 73 3b 0d 74 79 70 65 | 64 65 66 20 73 68 6f 72 |gs;.type|def shor|
|000003b0| 74 20 43 4d 43 68 61 6e | 6e 65 6c 3b 0d 0d 65 6e |t CMChan|nel;..en|
|000003c0| 75 6d 20 7b 0d 20 09 63 | 6d 44 61 74 61 20 09 09 |um {. .c|mData ..|
|000003d0| 09 3d 20 31 20 3c 3c 20 | 30 2c 0d 09 63 6d 43 6e |.= 1 << |0,..cmCn|
|000003e0| 74 6c 20 09 09 09 3d 20 | 31 20 3c 3c 20 31 2c 0d |tl ...= |1 << 1,.|
|000003f0| 09 63 6d 41 74 74 6e 20 | 09 09 09 3d 20 31 20 3c |.cmAttn |...= 1 <|
|00000400| 3c 20 32 2c 0d 09 0d 09 | 63 6d 44 61 74 61 43 6c |< 2,....|cmDataCl|
|00000410| 65 61 6e 20 09 3d 20 31 | 20 3c 3c 20 38 2c 09 09 |ean .= 1| << 8,..|
|00000420| 0d 09 63 6d 43 6e 74 6c | 43 6c 65 61 6e 09 09 3d |..cmCntl|Clean..=|
|00000430| 20 31 20 3c 3c 20 39 2c | 0d 09 63 6d 41 74 74 6e | 1 << 9,|..cmAttn|
|00000440| 43 6c 65 61 6e 09 09 3d | 20 31 20 3c 3c 20 31 30 |Clean..=| 1 << 10|
|00000450| 2c 0d 0d 2f 2f 09 09 4f | 6e 6c 79 20 66 6f 72 20 |,..//..O|nly for |
|00000460| 43 4d 52 65 63 46 6c 61 | 67 73 20 28 6e 6f 74 20 |CMRecFla|gs (not |
|00000470| 43 4d 43 68 61 6e 6e 65 | 6c 29 20 69 6e 20 74 68 |CMChanne|l) in th|
|00000480| 65 20 72 65 73 74 20 6f | 66 20 74 68 69 73 20 65 |e rest o|f this e|
|00000490| 6e 75 6d 0d 09 63 6d 4e | 6f 4d 65 6e 75 73 20 09 |num..cmN|oMenus .|
|000004a0| 09 3d 20 31 20 3c 3c 20 | 31 36 2c 09 0d 09 63 6d |.= 1 << |16,...cm|
|000004b0| 51 75 69 65 74 09 09 09 | 3d 20 31 20 3c 3c 20 31 |Quiet...|= 1 << 1|
|000004c0| 37 0d 7d 3b 0d 0d 2f 2f | 09 63 6f 6e 6e 65 63 74 |7.};..//|.connect|
|000004d0| 69 6f 6e 20 73 74 61 74 | 75 73 20 66 6c 61 67 73 |ion stat|us flags|
|000004e0| 0d 74 79 70 65 64 65 66 | 20 6c 6f 6e 67 20 43 4d |.typedef| long CM|
|000004f0| 53 74 61 74 46 6c 61 67 | 73 3b 0d 0d 65 6e 75 6d |StatFlag|s;..enum|
|00000500| 20 7b 0d 09 63 6d 53 74 | 61 74 75 73 4f 70 65 6e | {..cmSt|atusOpen|
|00000510| 69 6e 67 09 09 3d 20 31 | 20 3c 3c 20 30 2c 0d 09 |ing..= 1| << 0,..|
|00000520| 63 6d 53 74 61 74 75 73 | 4f 70 65 6e 20 09 09 3d |cmStatus|Open ..=|
|00000530| 20 31 20 3c 3c 20 31 2c | 0d 09 63 6d 53 74 61 74 | 1 << 1,|..cmStat|
|00000540| 75 73 43 6c 6f 73 69 6e | 67 20 09 3d 20 31 20 3c |usClosin|g .= 1 <|
|00000550| 3c 20 32 2c 0d 09 63 6d | 53 74 61 74 75 73 44 61 |< 2,..cm|StatusDa|
|00000560| 74 61 41 76 61 69 6c 20 | 09 3d 20 31 20 3c 3c 20 |taAvail |.= 1 << |
|00000570| 33 2c 0d 09 63 6d 53 74 | 61 74 75 73 43 6e 74 6c |3,..cmSt|atusCntl|
|00000580| 41 76 61 69 6c 20 09 3d | 20 31 20 3c 3c 20 34 2c |Avail .=| 1 << 4,|
|00000590| 0d 09 63 6d 53 74 61 74 | 75 73 41 74 74 6e 41 76 |..cmStat|usAttnAv|
|000005a0| 61 69 6c 20 09 3d 20 31 | 20 3c 3c 20 35 2c 0d 09 |ail .= 1| << 5,..|
|000005b0| 0d 09 63 6d 53 74 61 74 | 75 73 44 52 50 65 6e 64 |..cmStat|usDRPend|
|000005c0| 20 09 09 3d 20 31 20 3c | 3c 20 36 2c 09 09 2f 2f | ..= 1 <|< 6,..//|
|000005d0| 20 64 61 74 61 20 72 65 | 61 64 20 70 65 6e 64 69 | data re|ad pendi|
|000005e0| 6e 67 0d 09 63 6d 53 74 | 61 74 75 73 44 57 50 65 |ng..cmSt|atusDWPe|
|000005f0| 6e 64 20 09 09 3d 20 31 | 20 3c 3c 20 37 2c 09 09 |nd ..= 1| << 7,..|
|00000600| 2f 2f 20 64 61 74 61 20 | 77 72 69 74 65 20 70 65 |// data |write pe|
|00000610| 6e 64 69 6e 67 0d 09 63 | 6d 53 74 61 74 75 73 43 |nding..c|mStatusC|
|00000620| 52 50 65 6e 64 20 09 09 | 3d 20 31 20 3c 3c 20 38 |RPend ..|= 1 << 8|
|00000630| 2c 09 09 2f 2f 20 63 6e | 74 6c 20 72 65 61 64 20 |,..// cn|tl read |
|00000640| 70 65 6e 64 69 6e 67 0d | 09 63 6d 53 74 61 74 75 |pending.|.cmStatu|
|00000650| 73 43 57 50 65 6e 64 20 | 09 09 3d 20 31 20 3c 3c |sCWPend |..= 1 <<|
|00000660| 20 39 2c 09 09 2f 2f 20 | 63 6e 74 6c 20 77 72 69 | 9,..// |cntl wri|
|00000670| 74 65 20 70 65 6e 64 69 | 6e 67 0d 09 63 6d 53 74 |te pendi|ng..cmSt|
|00000680| 61 74 75 73 41 52 50 65 | 6e 64 20 09 09 3d 20 31 |atusARPe|nd ..= 1|
|00000690| 20 3c 3c 20 31 30 2c 09 | 09 2f 2f 20 61 74 74 6e | << 10,.|.// attn|
|000006a0| 20 72 65 61 64 20 70 65 | 6e 64 69 6e 67 0d 09 63 | read pe|nding..c|
|000006b0| 6d 53 74 61 74 75 73 41 | 57 50 65 6e 64 20 09 09 |mStatusA|WPend ..|
|000006c0| 3d 20 31 20 3c 3c 20 31 | 31 2c 09 09 2f 2f 20 61 |= 1 << 1|1,..// a|
|000006d0| 74 74 6e 20 77 72 69 74 | 65 20 70 65 6e 64 69 6e |ttn writ|e pendin|
|000006e0| 67 0d 0d 09 63 6d 53 74 | 61 74 75 73 42 72 65 61 |g...cmSt|atusBrea|
|000006f0| 6b 50 65 6e 64 20 09 3d | 20 31 20 3c 3c 20 31 32 |kPend .=| 1 << 12|
|00000700| 2c 0d 09 63 6d 53 74 61 | 74 75 73 4c 69 73 74 65 |,..cmSta|tusListe|
|00000710| 6e 50 65 6e 64 20 09 3d | 20 31 20 3c 3c 20 31 33 |nPend .=| 1 << 13|
|00000720| 2c 0d 09 63 6d 53 74 61 | 74 75 73 49 6e 63 6f 6d |,..cmSta|tusIncom|
|00000730| 69 6e 67 43 61 6c 6c 50 | 72 65 73 65 6e 74 20 0d |ingCallP|resent .|
|00000740| 09 09 09 09 09 09 3d 20 | 31 20 3c 3c 20 31 34 0d |......= |1 << 14.|
|00000750| 7d 3b 0d 0d 2f 2f 09 43 | 4d 42 75 66 66 65 72 73 |};..//.C|MBuffers|
|00000760| 09 66 69 65 6c 64 73 0d | 74 79 70 65 64 65 66 20 |.fields.|typedef |
|00000770| 73 68 6f 72 74 20 43 4d | 42 75 66 46 69 65 6c 64 |short CM|BufField|
|00000780| 73 3b 0d 0d 65 6e 75 6d | 20 7b 0d 09 63 6d 44 61 |s;..enum| {..cmDa|
|00000790| 74 61 49 6e 2c 0d 09 63 | 6d 44 61 74 61 4f 75 74 |taIn,..c|mDataOut|
|000007a0| 2c 0d 09 0d 09 63 6d 43 | 6e 74 6c 49 6e 2c 0d 09 |,....cmC|ntlIn,..|
|000007b0| 63 6d 43 6e 74 6c 4f 75 | 74 2c 0d 09 0d 09 63 6d |cmCntlOu|t,....cm|
|000007c0| 41 74 74 6e 49 6e 2c 0d | 09 63 6d 41 74 74 6e 4f |AttnIn,.|.cmAttnO|
|000007d0| 75 74 2c 0d 09 0d 09 63 | 6d 52 73 72 76 49 6e 2c |ut,....c|mRsrvIn,|
|000007e0| 0d 09 63 6d 52 73 72 76 | 4f 75 74 0d 7d 3b 0d 0d |..cmRsrv|Out.};..|
|000007f0| 74 79 70 65 64 65 66 20 | 50 74 72 20 43 4d 42 75 |typedef |Ptr CMBu|
|00000800| 66 66 65 72 73 5b 38 5d | 3b 0d 74 79 70 65 64 65 |ffers[8]|;.typede|
|00000810| 66 20 6c 6f 6e 67 20 43 | 4d 42 75 66 66 65 72 53 |f long C|MBufferS|
|00000820| 69 7a 65 73 5b 38 5d 3b | 0d 0d 2f 2f 09 43 4d 53 |izes[8];|..//.CMS|
|00000830| 65 61 72 63 68 46 6c 61 | 67 73 0d 74 79 70 65 64 |earchFla|gs.typed|
|00000840| 65 66 20 73 68 6f 72 74 | 20 43 4d 53 65 61 72 63 |ef short| CMSearc|
|00000850| 68 46 6c 61 67 73 3b 0d | 0d 65 6e 75 6d 20 7b 0d |hFlags;.|.enum {.|
|00000860| 09 63 6d 53 65 61 72 63 | 68 53 65 76 65 6e 42 69 |.cmSearc|hSevenBi|
|00000870| 74 20 3d 09 31 20 3c 3c | 20 30 0d 7d 3b 0d 0d 2f |t =.1 <<| 0.};../|
|00000880| 2f 09 43 4d 46 6c 61 67 | 73 20 28 43 4d 52 65 61 |/.CMFlag|s (CMRea|
|00000890| 64 2f 57 72 69 74 65 20 | 64 65 6c 69 6d 69 6e 61 |d/Write |delimina|
|000008a0| 74 6f 72 20 66 6c 61 67 | 73 29 0d 74 79 70 65 64 |tor flag|s).typed|
|000008b0| 65 66 20 73 68 6f 72 74 | 20 43 4d 46 6c 61 67 73 |ef short| CMFlags|
|000008c0| 3b 0d 65 6e 75 6d 20 7b | 0d 09 63 6d 46 6c 61 67 |;.enum {|..cmFlag|
|000008d0| 73 45 4f 4d 09 09 3d 09 | 31 20 3c 3c 20 30 0d 7d |sEOM..=.|1 << 0.}|
|000008e0| 3b 0d 0d 73 74 72 75 63 | 74 20 43 6f 6e 6e 45 6e |;..struc|t ConnEn|
|000008f0| 76 69 72 6f 6e 52 65 63 | 20 7b 0d 09 73 68 6f 72 |vironRec| {..shor|
|00000900| 74 09 09 76 65 72 73 69 | 6f 6e 3b 0d 09 6c 6f 6e |t..versi|on;..lon|
|00000910| 67 09 09 62 61 75 64 52 | 61 74 65 3b 0d 09 73 68 |g..baudR|ate;..sh|
|00000920| 6f 72 74 09 09 64 61 74 | 61 42 69 74 73 3b 0d 09 |ort..dat|aBits;..|
|00000930| 43 4d 43 68 61 6e 6e 65 | 6c 09 63 68 61 6e 6e 65 |CMChanne|l.channe|
|00000940| 6c 73 3b 0d 09 42 6f 6f | 6c 65 61 6e 09 09 73 77 |ls;..Boo|lean..sw|
|00000950| 46 6c 6f 77 43 6f 6e 74 | 72 6f 6c 3b 0d 09 42 6f |FlowCont|rol;..Bo|
|00000960| 6f 6c 65 61 6e 09 09 68 | 77 46 6c 6f 77 43 6f 6e |olean..h|wFlowCon|
|00000970| 74 72 6f 6c 3b 0d 09 43 | 4d 46 6c 61 67 73 09 09 |trol;..C|MFlags..|
|00000980| 66 6c 61 67 73 3b 0d 7d | 3b 0d 23 69 66 6e 64 65 |flags;.}|;.#ifnde|
|00000990| 66 20 5f 5f 63 70 6c 75 | 73 70 6c 75 73 0d 74 79 |f __cplu|splus.ty|
|000009a0| 70 65 64 65 66 20 73 74 | 72 75 63 74 20 43 6f 6e |pedef st|ruct Con|
|000009b0| 6e 45 6e 76 69 72 6f 6e | 52 65 63 20 43 6f 6e 6e |nEnviron|Rec Conn|
|000009c0| 45 6e 76 69 72 6f 6e 52 | 65 63 3b 0d 23 65 6e 64 |EnvironR|ec;.#end|
|000009d0| 69 66 0d 0d 74 79 70 65 | 64 65 66 20 43 6f 6e 6e |if..type|def Conn|
|000009e0| 45 6e 76 69 72 6f 6e 52 | 65 63 20 2a 43 6f 6e 6e |EnvironR|ec *Conn|
|000009f0| 45 6e 76 69 72 6f 6e 52 | 65 63 50 74 72 3b 0d 0d |EnvironR|ecPtr;..|
|00000a00| 73 74 72 75 63 74 20 43 | 6f 6e 6e 52 65 63 6f 72 |struct C|onnRecor|
|00000a10| 64 20 7b 0d 09 73 68 6f | 72 74 09 09 70 72 6f 63 |d {..sho|rt..proc|
|00000a20| 49 44 3b 0d 09 0d 09 43 | 4d 52 65 63 46 6c 61 67 |ID;....C|MRecFlag|
|00000a30| 73 09 66 6c 61 67 73 3b | 0d 09 43 4d 45 72 72 09 |s.flags;|..CMErr.|
|00000a40| 09 65 72 72 43 6f 64 65 | 3b 0d 09 0d 09 6c 6f 6e |.errCode|;....lon|
|00000a50| 67 09 09 72 65 66 43 6f | 6e 3b 0d 09 6c 6f 6e 67 |g..refCo|n;..long|
|00000a60| 09 09 75 73 65 72 44 61 | 74 61 3b 0d 09 0d 09 50 |..userDa|ta;....P|
|00000a70| 72 6f 63 50 74 72 09 09 | 64 65 66 50 72 6f 63 3b |rocPtr..|defProc;|
|00000a80| 0d 09 0d 09 50 74 72 09 | 09 09 63 6f 6e 66 69 67 |....Ptr.|..config|
|00000a90| 3b 0d 09 50 74 72 09 09 | 09 6f 6c 64 43 6f 6e 66 |;..Ptr..|.oldConf|
|00000aa0| 69 67 3b 0d 09 0d 09 6c | 6f 6e 67 09 09 72 65 73 |ig;....l|ong..res|
|00000ab0| 65 72 76 65 64 30 3b 0d | 09 6c 6f 6e 67 09 09 72 |erved0;.|.long..r|
|00000ac0| 65 73 65 72 76 65 64 31 | 3b 0d 09 6c 6f 6e 67 09 |eserved1|;..long.|
|00000ad0| 09 72 65 73 65 72 76 65 | 64 32 3b 0d 0d 09 50 74 |.reserve|d2;...Pt|
|00000ae0| 72 09 09 09 63 6d 50 72 | 69 76 61 74 65 3b 0d 0d |r...cmPr|ivate;..|
|00000af0| 09 43 4d 42 75 66 66 65 | 72 73 09 09 62 75 66 66 |.CMBuffe|rs..buff|
|00000b00| 65 72 41 72 72 61 79 3b | 0d 09 43 4d 42 75 66 66 |erArray;|..CMBuff|
|00000b10| 65 72 53 69 7a 65 73 09 | 62 75 66 53 69 7a 65 73 |erSizes.|bufSizes|
|00000b20| 3b 0d 0d 09 6c 6f 6e 67 | 09 09 6d 6c 75 46 69 65 |;...long|..mluFie|
|00000b30| 6c 64 3b 0d 09 0d 09 43 | 4d 42 75 66 66 65 72 53 |ld;....C|MBufferS|
|00000b40| 69 7a 65 73 09 61 73 79 | 6e 63 43 6f 75 6e 74 3b |izes.asy|ncCount;|
|00000b50| 0d 7d 3b 0d 0d 23 69 66 | 6e 64 65 66 20 5f 5f 63 |.};..#if|ndef __c|
|00000b60| 70 6c 75 73 70 6c 75 73 | 0d 74 79 70 65 64 65 66 |plusplus|.typedef|
|00000b70| 20 73 74 72 75 63 74 20 | 43 6f 6e 6e 52 65 63 6f | struct |ConnReco|
|00000b80| 72 64 20 43 6f 6e 6e 52 | 65 63 6f 72 64 3b 0d 23 |rd ConnR|ecord;.#|
|00000b90| 65 6e 64 69 66 0d 74 79 | 70 65 64 65 66 20 43 6f |endif.ty|pedef Co|
|00000ba0| 6e 6e 52 65 63 6f 72 64 | 20 2a 43 6f 6e 6e 50 74 |nnRecord| *ConnPt|
|00000bb0| 72 2c 20 2a 2a 43 6f 6e | 6e 48 61 6e 64 6c 65 3b |r, **Con|nHandle;|
|00000bc0| 0d 0d 0d 23 69 66 64 65 | 66 20 5f 5f 73 61 66 65 |...#ifde|f __safe|
|00000bd0| 5f 6c 69 6e 6b 0d 65 78 | 74 65 72 6e 20 22 43 22 |_link.ex|tern "C"|
|00000be0| 20 7b 0d 23 65 6e 64 69 | 66 09 0d 65 78 74 65 72 | {.#endi|f..exter|
|00000bf0| 6e 20 70 61 73 63 61 6c | 20 43 4d 45 72 72 09 09 |n pascal| CMErr..|
|00000c00| 49 6e 69 74 43 4d 28 76 | 6f 69 64 29 3b 0d 65 78 |InitCM(v|oid);.ex|
|00000c10| 74 65 72 6e 20 70 61 73 | 63 61 6c 20 48 61 6e 64 |tern pas|cal Hand|
|00000c20| 6c 65 20 09 43 4d 47 65 | 74 56 65 72 73 69 6f 6e |le .CMGe|tVersion|
|00000c30| 28 43 6f 6e 6e 48 61 6e | 64 6c 65 20 68 43 6f 6e |(ConnHan|dle hCon|
|00000c40| 6e 29 3b 0d 65 78 74 65 | 72 6e 20 70 61 73 63 61 |n);.exte|rn pasca|
|00000c50| 6c 20 73 68 6f 72 74 20 | 09 43 4d 47 65 74 43 4d |l short |.CMGetCM|
|00000c60| 56 65 72 73 69 6f 6e 28 | 76 6f 69 64 29 3b 0d 0d |Version(|void);..|
|00000c70| 65 78 74 65 72 6e 20 70 | 61 73 63 61 6c 20 43 6f |extern p|ascal Co|
|00000c80| 6e 6e 48 61 6e 64 6c 65 | 09 43 4d 4e 65 77 28 73 |nnHandle|.CMNew(s|
|00000c90| 68 6f 72 74 20 70 72 6f | 63 49 44 2c 20 43 4d 52 |hort pro|cID, CMR|
|00000ca0| 65 63 46 6c 61 67 73 20 | 66 6c 61 67 73 2c 20 43 |ecFlags |flags, C|
|00000cb0| 4d 42 75 66 66 65 72 53 | 69 7a 65 73 20 64 65 73 |MBufferS|izes des|
|00000cc0| 69 72 65 64 53 69 7a 65 | 73 2c 20 0d 09 09 09 09 |iredSize|s, .....|
|00000cd0| 09 09 09 09 6c 6f 6e 67 | 20 72 65 66 43 6f 6e 2c |....long| refCon,|
|00000ce0| 20 6c 6f 6e 67 20 75 73 | 65 72 44 61 74 61 29 3b | long us|erData);|
|00000cf0| 0d 0d 65 78 74 65 72 6e | 20 70 61 73 63 61 6c 20 |..extern| pascal |
|00000d00| 76 6f 69 64 20 09 09 43 | 4d 44 69 73 70 6f 73 65 |void ..C|MDispose|
|00000d10| 28 43 6f 6e 6e 48 61 6e | 64 6c 65 20 68 43 6f 6e |(ConnHan|dle hCon|
|00000d20| 6e 29 3b 0d 0d 65 78 74 | 65 72 6e 20 70 61 73 63 |n);..ext|ern pasc|
|00000d30| 61 6c 20 43 4d 45 72 72 | 20 09 43 4d 4c 69 73 74 |al CMErr| .CMList|
|00000d40| 65 6e 28 43 6f 6e 6e 48 | 61 6e 64 6c 65 20 68 43 |en(ConnH|andle hC|
|00000d50| 6f 6e 6e 2c 20 42 6f 6f | 6c 65 61 6e 20 61 73 79 |onn, Boo|lean asy|
|00000d60| 6e 63 2c 20 50 72 6f 63 | 50 74 72 20 63 6f 6d 70 |nc, Proc|Ptr comp|
|00000d70| 6c 65 74 6f 72 2c 20 6c | 6f 6e 67 20 74 69 6d 65 |letor, l|ong time|
|00000d80| 6f 75 74 29 3b 0d 65 78 | 74 65 72 6e 20 70 61 73 |out);.ex|tern pas|
|00000d90| 63 61 6c 20 43 4d 45 72 | 72 20 09 43 4d 41 63 63 |cal CMEr|r .CMAcc|
|00000da0| 65 70 74 28 43 6f 6e 6e | 48 61 6e 64 6c 65 20 68 |ept(Conn|Handle h|
|00000db0| 43 6f 6e 6e 2c 20 42 6f | 6f 6c 65 61 6e 20 61 63 |Conn, Bo|olean ac|
|00000dc0| 63 65 70 74 29 3b 0d 0d | 65 78 74 65 72 6e 20 70 |cept);..|extern p|
|00000dd0| 61 73 63 61 6c 20 43 4d | 45 72 72 20 09 43 4d 4f |ascal CM|Err .CMO|
|00000de0| 70 65 6e 28 43 6f 6e 6e | 48 61 6e 64 6c 65 20 68 |pen(Conn|Handle h|
|00000df0| 43 6f 6e 6e 2c 20 42 6f | 6f 6c 65 61 6e 20 61 73 |Conn, Bo|olean as|
|00000e00| 79 6e 63 2c 20 50 72 6f | 63 50 74 72 20 63 6f 6d |ync, Pro|cPtr com|
|00000e10| 70 6c 65 74 6f 72 2c 20 | 6c 6f 6e 67 20 74 69 6d |pletor, |long tim|
|00000e20| 65 6f 75 74 29 3b 0d 65 | 78 74 65 72 6e 20 70 61 |eout);.e|xtern pa|
|00000e30| 73 63 61 6c 20 43 4d 45 | 72 72 20 09 43 4d 43 6c |scal CME|rr .CMCl|
|00000e40| 6f 73 65 28 43 6f 6e 6e | 48 61 6e 64 6c 65 20 68 |ose(Conn|Handle h|
|00000e50| 43 6f 6e 6e 2c 20 42 6f | 6f 6c 65 61 6e 20 61 73 |Conn, Bo|olean as|
|00000e60| 79 6e 63 2c 20 50 72 6f | 63 50 74 72 20 63 6f 6d |ync, Pro|cPtr com|
|00000e70| 70 6c 65 74 6f 72 2c 20 | 6c 6f 6e 67 20 74 69 6d |pletor, |long tim|
|00000e80| 65 6f 75 74 2c 20 42 6f | 6f 6c 65 61 6e 20 6e 6f |eout, Bo|olean no|
|00000e90| 77 29 3b 0d 0d 65 78 74 | 65 72 6e 20 70 61 73 63 |w);..ext|ern pasc|
|00000ea0| 61 6c 20 43 4d 45 72 72 | 20 09 43 4d 41 62 6f 72 |al CMErr| .CMAbor|
|00000eb0| 74 28 43 6f 6e 6e 48 61 | 6e 64 6c 65 20 68 43 6f |t(ConnHa|ndle hCo|
|00000ec0| 6e 6e 29 3b 0d 0d 65 78 | 74 65 72 6e 20 70 61 73 |nn);..ex|tern pas|
|00000ed0| 63 61 6c 20 76 6f 69 64 | 20 09 09 43 4d 49 64 6c |cal void| ..CMIdl|
|00000ee0| 65 28 43 6f 6e 6e 48 61 | 6e 64 6c 65 20 68 43 6f |e(ConnHa|ndle hCo|
|00000ef0| 6e 6e 29 3b 0d 65 78 74 | 65 72 6e 20 70 61 73 63 |nn);.ext|ern pasc|
|00000f00| 61 6c 20 43 4d 45 72 72 | 20 09 43 4d 53 74 61 74 |al CMErr| .CMStat|
|00000f10| 75 73 28 43 6f 6e 6e 48 | 61 6e 64 6c 65 20 68 43 |us(ConnH|andle hC|
|00000f20| 6f 6e 6e 2c 20 43 4d 42 | 75 66 66 65 72 53 69 7a |onn, CMB|ufferSiz|
|00000f30| 65 73 20 73 69 7a 65 73 | 2c 20 43 4d 53 74 61 74 |es sizes|, CMStat|
|00000f40| 46 6c 61 67 73 20 2a 66 | 6c 61 67 73 29 3b 0d 0d |Flags *f|lags);..|
|00000f50| 65 78 74 65 72 6e 20 70 | 61 73 63 61 6c 20 76 6f |extern p|ascal vo|
|00000f60| 69 64 20 09 09 43 4d 52 | 65 73 65 74 28 43 6f 6e |id ..CMR|eset(Con|
|00000f70| 6e 48 61 6e 64 6c 65 20 | 68 43 6f 6e 6e 29 3b 0d |nHandle |hConn);.|
|00000f80| 0d 65 78 74 65 72 6e 20 | 70 61 73 63 61 6c 20 76 |.extern |pascal v|
|00000f90| 6f 69 64 20 09 09 43 4d | 42 72 65 61 6b 28 43 6f |oid ..CM|Break(Co|
|00000fa0| 6e 6e 48 61 6e 64 6c 65 | 20 68 43 6f 6e 6e 2c 20 |nnHandle| hConn, |
|00000fb0| 6c 6f 6e 67 20 64 75 72 | 61 74 69 6f 6e 2c 20 42 |long dur|ation, B|
|00000fc0| 6f 6f 6c 65 61 6e 20 61 | 73 79 6e 63 2c 20 0d 09 |oolean a|sync, ..|
|00000fd0| 09 09 09 09 09 09 50 72 | 6f 63 50 74 72 20 63 6f |......Pr|ocPtr co|
|00000fe0| 6d 70 6c 65 74 6f 72 29 | 3b 0d 0d 65 78 74 65 72 |mpletor)|;..exter|
|00000ff0| 6e 20 70 61 73 63 61 6c | 20 43 4d 45 72 72 20 09 |n pascal| CMErr .|
|00001000| 43 4d 52 65 61 64 28 43 | 6f 6e 6e 48 61 6e 64 6c |CMRead(C|onnHandl|
|00001010| 65 20 68 43 6f 6e 6e 2c | 20 50 74 72 20 74 68 65 |e hConn,| Ptr the|
|00001020| 42 75 66 66 65 72 2c 20 | 6c 6f 6e 67 20 2a 74 6f |Buffer, |long *to|
|00001030| 52 65 61 64 2c 20 0d 09 | 09 09 09 09 09 09 43 4d |Read, ..|......CM|
|00001040| 43 68 61 6e 6e 65 6c 20 | 74 68 65 43 68 61 6e 6e |Channel |theChann|
|00001050| 65 6c 2c 20 42 6f 6f 6c | 65 61 6e 20 61 73 79 6e |el, Bool|ean asyn|
|00001060| 63 2c 20 50 72 6f 63 50 | 74 72 20 63 6f 6d 70 6c |c, ProcP|tr compl|
|00001070| 65 74 6f 72 2c 20 6c 6f | 6e 67 20 74 69 6d 65 6f |etor, lo|ng timeo|
|00001080| 75 74 2c 20 0d 09 09 09 | 09 09 09 09 43 4d 46 6c |ut, ....|....CMFl|
|00001090| 61 67 73 20 2a 66 6c 61 | 67 73 29 3b 0d 0d 65 78 |ags *fla|gs);..ex|
|000010a0| 74 65 72 6e 20 70 61 73 | 63 61 6c 20 43 4d 45 72 |tern pas|cal CMEr|
|000010b0| 72 20 09 43 4d 57 72 69 | 74 65 28 43 6f 6e 6e 48 |r .CMWri|te(ConnH|
|000010c0| 61 6e 64 6c 65 20 68 43 | 6f 6e 6e 2c 20 50 74 72 |andle hC|onn, Ptr|
|000010d0| 20 74 68 65 42 75 66 66 | 65 72 2c 20 6c 6f 6e 67 | theBuff|er, long|
|000010e0| 20 2a 74 6f 57 72 69 74 | 65 2c 0d 09 09 09 09 09 | *toWrit|e,......|
|000010f0| 09 09 43 4d 43 68 61 6e | 6e 65 6c 20 74 68 65 43 |..CMChan|nel theC|
|00001100| 68 61 6e 6e 65 6c 2c 20 | 42 6f 6f 6c 65 61 6e 20 |hannel, |Boolean |
|00001110| 61 73 79 6e 63 2c 20 50 | 72 6f 63 50 74 72 20 63 |async, P|rocPtr c|
|00001120| 6f 6d 70 6c 65 74 6f 72 | 2c 20 6c 6f 6e 67 20 74 |ompletor|, long t|
|00001130| 69 6d 65 6f 75 74 2c 20 | 0d 09 09 09 09 09 09 09 |imeout, |........|
|00001140| 43 4d 46 6c 61 67 73 20 | 66 6c 61 67 73 29 3b 0d |CMFlags |flags);.|
|00001150| 0d 65 78 74 65 72 6e 20 | 70 61 73 63 61 6c 20 43 |.extern |pascal C|
|00001160| 4d 45 72 72 20 09 43 4d | 49 4f 4b 69 6c 6c 28 43 |MErr .CM|IOKill(C|
|00001170| 6f 6e 6e 48 61 6e 64 6c | 65 20 68 43 6f 6e 6e 2c |onnHandl|e hConn,|
|00001180| 20 73 68 6f 72 74 20 77 | 68 69 63 68 29 3b 0d 0d | short w|hich);..|
|00001190| 65 78 74 65 72 6e 20 70 | 61 73 63 61 6c 20 76 6f |extern p|ascal vo|
|000011a0| 69 64 20 09 09 43 4d 41 | 63 74 69 76 61 74 65 28 |id ..CMA|ctivate(|
|000011b0| 43 6f 6e 6e 48 61 6e 64 | 6c 65 20 68 43 6f 6e 6e |ConnHand|le hConn|
|000011c0| 2c 20 42 6f 6f 6c 65 61 | 6e 20 61 63 74 69 76 61 |, Boolea|n activa|
|000011d0| 74 65 29 3b 0d 65 78 74 | 65 72 6e 20 70 61 73 63 |te);.ext|ern pasc|
|000011e0| 61 6c 20 76 6f 69 64 20 | 09 09 43 4d 52 65 73 75 |al void |..CMResu|
|000011f0| 6d 65 28 43 6f 6e 6e 48 | 61 6e 64 6c 65 20 68 43 |me(ConnH|andle hC|
|00001200| 6f 6e 6e 2c 20 42 6f 6f | 6c 65 61 6e 20 72 65 73 |onn, Boo|lean res|
|00001210| 75 6d 65 29 3b 0d 65 78 | 74 65 72 6e 20 70 61 73 |ume);.ex|tern pas|
|00001220| 63 61 6c 20 42 6f 6f 6c | 65 61 6e 20 09 43 4d 4d |cal Bool|ean .CMM|
|00001230| 65 6e 75 28 43 6f 6e 6e | 48 61 6e 64 6c 65 20 68 |enu(Conn|Handle h|
|00001240| 43 6f 6e 6e 2c 20 73 68 | 6f 72 74 20 6d 65 6e 75 |Conn, sh|ort menu|
|00001250| 49 44 2c 20 73 68 6f 72 | 74 20 69 74 65 6d 29 3b |ID, shor|t item);|
|00001260| 0d 0d 65 78 74 65 72 6e | 20 70 61 73 63 61 6c 20 |..extern| pascal |
|00001270| 42 6f 6f 6c 65 61 6e 20 | 09 43 4d 56 61 6c 69 64 |Boolean |.CMValid|
|00001280| 61 74 65 28 43 6f 6e 6e | 48 61 6e 64 6c 65 20 68 |ate(Conn|Handle h|
|00001290| 43 6f 6e 6e 29 3b 0d 65 | 78 74 65 72 6e 20 70 61 |Conn);.e|xtern pa|
|000012a0| 73 63 61 6c 20 76 6f 69 | 64 20 09 09 43 4d 44 65 |scal voi|d ..CMDe|
|000012b0| 66 61 75 6c 74 28 50 74 | 72 20 2a 74 68 65 43 6f |fault(Pt|r *theCo|
|000012c0| 6e 66 69 67 2c 20 73 68 | 6f 72 74 20 70 72 6f 63 |nfig, sh|ort proc|
|000012d0| 49 44 2c 20 42 6f 6f 6c | 65 61 6e 20 61 6c 6c 6f |ID, Bool|ean allo|
|000012e0| 63 61 74 65 29 3b 0d 0d | 65 78 74 65 72 6e 20 70 |cate);..|extern p|
|000012f0| 61 73 63 61 6c 20 48 61 | 6e 64 6c 65 20 09 43 4d |ascal Ha|ndle .CM|
|00001300| 53 65 74 75 70 50 72 65 | 66 6c 69 67 68 74 28 73 |SetupPre|flight(s|
|00001310| 68 6f 72 74 20 70 72 6f | 63 49 44 2c 20 6c 6f 6e |hort pro|cID, lon|
|00001320| 67 20 2a 6d 61 67 69 63 | 43 6f 6f 6b 69 65 29 3b |g *magic|Cookie);|
|00001330| 0d 65 78 74 65 72 6e 20 | 70 61 73 63 61 6c 20 42 |.extern |pascal B|
|00001340| 6f 6f 6c 65 61 6e 20 09 | 43 4d 53 65 74 75 70 46 |oolean .|CMSetupF|
|00001350| 69 6c 74 65 72 28 73 68 | 6f 72 74 20 70 72 6f 63 |ilter(sh|ort proc|
|00001360| 49 44 2c 20 50 74 72 20 | 74 68 65 43 6f 6e 66 69 |ID, Ptr |theConfi|
|00001370| 67 2c 20 73 68 6f 72 74 | 20 63 6f 75 6e 74 2c 20 |g, short| count, |
|00001380| 0d 09 09 09 09 09 09 09 | 44 69 61 6c 6f 67 50 74 |........|DialogPt|
|00001390| 72 20 74 68 65 44 69 61 | 6c 6f 67 2c 20 45 76 65 |r theDia|log, Eve|
|000013a0| 6e 74 52 65 63 6f 72 64 | 20 2a 74 68 65 45 76 65 |ntRecord| *theEve|
|000013b0| 6e 74 2c 20 73 68 6f 72 | 74 20 2a 74 68 65 49 74 |nt, shor|t *theIt|
|000013c0| 65 6d 2c 20 0d 09 09 09 | 09 09 09 09 6c 6f 6e 67 |em, ....|....long|
|000013d0| 20 2a 6d 61 67 69 63 43 | 6f 6f 6b 69 65 29 3b 0d | *magicC|ookie);.|
|000013e0| 65 78 74 65 72 6e 20 70 | 61 73 63 61 6c 20 76 6f |extern p|ascal vo|
|000013f0| 69 64 20 09 09 43 4d 53 | 65 74 75 70 53 65 74 75 |id ..CMS|etupSetu|
|00001400| 70 28 73 68 6f 72 74 20 | 70 72 6f 63 49 44 2c 20 |p(short |procID, |
|00001410| 50 74 72 20 74 68 65 43 | 6f 6e 66 69 67 2c 20 73 |Ptr theC|onfig, s|
|00001420| 68 6f 72 74 20 63 6f 75 | 6e 74 2c 20 0d 09 09 09 |hort cou|nt, ....|
|00001430| 09 09 09 09 44 69 61 6c | 6f 67 50 74 72 20 74 68 |....Dial|ogPtr th|
|00001440| 65 44 69 61 6c 6f 67 2c | 20 6c 6f 6e 67 20 2a 6d |eDialog,| long *m|
|00001450| 61 67 69 63 43 6f 6f 6b | 69 65 29 3b 0d 65 78 74 |agicCook|ie);.ext|
|00001460| 65 72 6e 20 70 61 73 63 | 61 6c 20 76 6f 69 64 20 |ern pasc|al void |
|00001470| 09 09 43 4d 53 65 74 75 | 70 49 74 65 6d 28 73 68 |..CMSetu|pItem(sh|
|00001480| 6f 72 74 20 70 72 6f 63 | 49 44 2c 20 50 74 72 20 |ort proc|ID, Ptr |
|00001490| 74 68 65 43 6f 6e 66 69 | 67 2c 20 73 68 6f 72 74 |theConfi|g, short|
|000014a0| 20 63 6f 75 6e 74 2c 20 | 0d 09 09 09 09 09 09 09 | count, |........|
|000014b0| 44 69 61 6c 6f 67 50 74 | 72 20 74 68 65 44 69 61 |DialogPt|r theDia|
|000014c0| 6c 6f 67 2c 20 73 68 6f | 72 74 20 2a 74 68 65 49 |log, sho|rt *theI|
|000014d0| 74 65 6d 2c 20 6c 6f 6e | 67 20 2a 6d 61 67 69 63 |tem, lon|g *magic|
|000014e0| 43 6f 6f 6b 69 65 29 3b | 0d 65 78 74 65 72 6e 20 |Cookie);|.extern |
|000014f0| 70 61 73 63 61 6c 20 76 | 6f 69 64 20 09 09 43 4d |pascal v|oid ..CM|
|00001500| 53 65 74 75 70 43 6c 65 | 61 6e 75 70 28 73 68 6f |SetupCle|anup(sho|
|00001510| 72 74 20 70 72 6f 63 49 | 44 2c 20 50 74 72 20 74 |rt procI|D, Ptr t|
|00001520| 68 65 43 6f 6e 66 69 67 | 2c 20 73 68 6f 72 74 20 |heConfig|, short |
|00001530| 63 6f 75 6e 74 2c 20 0d | 09 09 09 09 09 09 09 44 |count, .|.......D|
|00001540| 69 61 6c 6f 67 50 74 72 | 20 74 68 65 44 69 61 6c |ialogPtr| theDial|
|00001550| 6f 67 2c 20 6c 6f 6e 67 | 20 2a 6d 61 67 69 63 43 |og, long| *magicC|
|00001560| 6f 6f 6b 69 65 29 3b 0d | 65 78 74 65 72 6e 20 70 |ookie);.|extern p|
|00001570| 61 73 63 61 6c 20 76 6f | 69 64 20 09 09 43 4d 53 |ascal vo|id ..CMS|
|00001580| 65 74 75 70 50 6f 73 74 | 66 6c 69 67 68 74 28 73 |etupPost|flight(s|
|00001590| 68 6f 72 74 20 70 72 6f | 63 49 44 29 3b 0d 0d 65 |hort pro|cID);..e|
|000015a0| 78 74 65 72 6e 20 70 61 | 73 63 61 6c 20 50 74 72 |xtern pa|scal Ptr|
|000015b0| 20 09 09 43 4d 47 65 74 | 43 6f 6e 66 69 67 28 43 | ..CMGet|Config(C|
|000015c0| 6f 6e 6e 48 61 6e 64 6c | 65 20 68 43 6f 6e 6e 29 |onnHandl|e hConn)|
|000015d0| 3b 0d 65 78 74 65 72 6e | 20 70 61 73 63 61 6c 20 |;.extern| pascal |
|000015e0| 73 68 6f 72 74 20 09 43 | 4d 53 65 74 43 6f 6e 66 |short .C|MSetConf|
|000015f0| 69 67 28 43 6f 6e 6e 48 | 61 6e 64 6c 65 20 68 43 |ig(ConnH|andle hC|
|00001600| 6f 6e 6e 2c 20 50 74 72 | 20 74 68 65 50 74 72 29 |onn, Ptr| thePtr)|
|00001610| 3b 0d 0d 65 78 74 65 72 | 6e 20 70 61 73 63 61 6c |;..exter|n pascal|
|00001620| 20 4f 53 45 72 72 20 09 | 43 4d 49 6e 74 6c 54 6f | OSErr .|CMIntlTo|
|00001630| 45 6e 67 6c 69 73 68 28 | 43 6f 6e 6e 48 61 6e 64 |English(|ConnHand|
|00001640| 6c 65 20 68 43 6f 6e 6e | 2c 20 0d 09 09 09 09 09 |le hConn|, ......|
|00001650| 09 09 50 74 72 20 69 6e | 70 75 74 50 74 72 2c 20 |..Ptr in|putPtr, |
|00001660| 50 74 72 20 2a 6f 75 74 | 70 75 74 50 74 72 2c 20 |Ptr *out|putPtr, |
|00001670| 73 68 6f 72 74 20 6c 61 | 6e 67 75 61 67 65 29 3b |short la|nguage);|
|00001680| 0d 65 78 74 65 72 6e 20 | 70 61 73 63 61 6c 20 4f |.extern |pascal O|
|00001690| 53 45 72 72 20 09 43 4d | 45 6e 67 6c 69 73 68 54 |SErr .CM|EnglishT|
|000016a0| 6f 49 6e 74 6c 28 43 6f | 6e 6e 48 61 6e 64 6c 65 |oIntl(Co|nnHandle|
|000016b0| 20 68 43 6f 6e 6e 2c 20 | 0d 09 09 09 09 09 09 09 | hConn, |........|
|000016c0| 50 74 72 20 69 6e 70 75 | 74 50 74 72 2c 20 50 74 |Ptr inpu|tPtr, Pt|
|000016d0| 72 20 2a 6f 75 74 70 75 | 74 50 74 72 2c 20 73 68 |r *outpu|tPtr, sh|
|000016e0| 6f 72 74 20 6c 61 6e 67 | 75 61 67 65 29 3b 0d 0d |ort lang|uage);..|
|000016f0| 65 78 74 65 72 6e 20 70 | 61 73 63 61 6c 20 6c 6f |extern p|ascal lo|
|00001700| 6e 67 20 09 09 43 4d 41 | 64 64 53 65 61 72 63 68 |ng ..CMA|ddSearch|
|00001710| 28 43 6f 6e 6e 48 61 6e | 64 6c 65 20 68 43 6f 6e |(ConnHan|dle hCon|
|00001720| 6e 2c 20 63 6f 6e 73 74 | 20 53 74 72 32 35 35 20 |n, const| Str255 |
|00001730| 74 68 65 53 74 72 69 6e | 67 2c 20 0d 09 09 09 09 |theStrin|g, .....|
|00001740| 09 09 09 43 4d 53 65 61 | 72 63 68 46 6c 61 67 73 |...CMSea|rchFlags|
|00001750| 20 66 6c 61 67 73 2c 20 | 50 72 6f 63 50 74 72 20 | flags, |ProcPtr |
|00001760| 63 61 6c 6c 42 61 63 6b | 29 3b 0d 65 78 74 65 72 |callBack|);.exter|
|00001770| 6e 20 70 61 73 63 61 6c | 20 76 6f 69 64 09 09 43 |n pascal| void..C|
|00001780| 4d 52 65 6d 6f 76 65 53 | 65 61 72 63 68 28 43 6f |MRemoveS|earch(Co|
|00001790| 6e 6e 48 61 6e 64 6c 65 | 20 68 43 6f 6e 6e 2c 20 |nnHandle| hConn, |
|000017a0| 6c 6f 6e 67 20 72 65 66 | 6e 75 6d 29 3b 0d 65 78 |long ref|num);.ex|
|000017b0| 74 65 72 6e 20 70 61 73 | 63 61 6c 20 76 6f 69 64 |tern pas|cal void|
|000017c0| 09 09 43 4d 43 6c 65 61 | 72 53 65 61 72 63 68 28 |..CMClea|rSearch(|
|000017d0| 43 6f 6e 6e 48 61 6e 64 | 6c 65 20 68 43 6f 6e 6e |ConnHand|le hConn|
|000017e0| 29 3b 0d 0d 65 78 74 65 | 72 6e 20 70 61 73 63 61 |);..exte|rn pasca|
|000017f0| 6c 20 43 4d 45 72 72 20 | 09 43 4d 47 65 74 43 6f |l CMErr |.CMGetCo|
|00001800| 6e 6e 45 6e 76 69 72 6f | 6e 73 28 43 6f 6e 6e 48 |nnEnviro|ns(ConnH|
|00001810| 61 6e 64 6c 65 20 68 43 | 6f 6e 6e 2c 20 43 6f 6e |andle hC|onn, Con|
|00001820| 6e 45 6e 76 69 72 6f 6e | 52 65 63 20 2a 74 68 65 |nEnviron|Rec *the|
|00001830| 45 6e 76 69 72 6f 6e 73 | 29 3b 0d 09 09 0d 65 78 |Environs|);....ex|
|00001840| 74 65 72 6e 20 70 61 73 | 63 61 6c 20 73 68 6f 72 |tern pas|cal shor|
|00001850| 74 20 09 43 4d 43 68 6f | 6f 73 65 28 43 6f 6e 6e |t .CMCho|ose(Conn|
|00001860| 48 61 6e 64 6c 65 20 2a | 68 43 6f 6e 6e 2c 20 50 |Handle *|hConn, P|
|00001870| 6f 69 6e 74 20 77 68 65 | 72 65 2c 20 50 72 6f 63 |oint whe|re, Proc|
|00001880| 50 74 72 20 69 64 6c 65 | 50 72 6f 63 29 3b 0d 65 |Ptr idle|Proc);.e|
|00001890| 78 74 65 72 6e 20 70 61 | 73 63 61 6c 20 76 6f 69 |xtern pa|scal voi|
|000018a0| 64 09 09 43 4d 45 76 65 | 6e 74 28 43 6f 6e 6e 48 |d..CMEve|nt(ConnH|
|000018b0| 61 6e 64 6c 65 20 68 43 | 6f 6e 6e 2c 20 63 6f 6e |andle hC|onn, con|
|000018c0| 73 74 20 45 76 65 6e 74 | 52 65 63 6f 72 64 20 2a |st Event|Record *|
|000018d0| 74 68 65 45 76 65 6e 74 | 29 3b 0d 0d 65 78 74 65 |theEvent|);..exte|
|000018e0| 72 6e 20 70 61 73 63 61 | 6c 20 76 6f 69 64 20 09 |rn pasca|l void .|
|000018f0| 09 43 4d 47 65 74 54 6f | 6f 6c 4e 61 6d 65 28 73 |.CMGetTo|olName(s|
|00001900| 68 6f 72 74 20 70 72 6f | 63 49 44 2c 20 53 74 72 |hort pro|cID, Str|
|00001910| 32 35 35 20 6e 61 6d 65 | 29 3b 0d 65 78 74 65 72 |255 name|);.exter|
|00001920| 6e 20 70 61 73 63 61 6c | 20 73 68 6f 72 74 20 09 |n pascal| short .|
|00001930| 43 4d 47 65 74 50 72 6f | 63 49 44 28 63 6f 6e 73 |CMGetPro|cID(cons|
|00001940| 74 20 53 74 72 32 35 35 | 20 6e 61 6d 65 29 3b 0d |t Str255| name);.|
|00001950| 0d 65 78 74 65 72 6e 20 | 70 61 73 63 61 6c 20 76 |.extern |pascal v|
|00001960| 6f 69 64 09 09 43 4d 53 | 65 74 52 65 66 43 6f 6e |oid..CMS|etRefCon|
|00001970| 28 43 6f 6e 6e 48 61 6e | 64 6c 65 20 68 43 6f 6e |(ConnHan|dle hCon|
|00001980| 6e 2c 20 6c 6f 6e 67 20 | 72 65 66 43 6f 6e 29 3b |n, long |refCon);|
|00001990| 0d 65 78 74 65 72 6e 20 | 70 61 73 63 61 6c 20 6c |.extern |pascal l|
|000019a0| 6f 6e 67 20 09 09 43 4d | 47 65 74 52 65 66 43 6f |ong ..CM|GetRefCo|
|000019b0| 6e 28 43 6f 6e 6e 48 61 | 6e 64 6c 65 20 68 43 6f |n(ConnHa|ndle hCo|
|000019c0| 6e 6e 29 3b 0d 0d 65 78 | 74 65 72 6e 20 70 61 73 |nn);..ex|tern pas|
|000019d0| 63 61 6c 20 6c 6f 6e 67 | 20 09 09 43 4d 47 65 74 |cal long| ..CMGet|
|000019e0| 55 73 65 72 44 61 74 61 | 28 43 6f 6e 6e 48 61 6e |UserData|(ConnHan|
|000019f0| 64 6c 65 20 68 43 6f 6e | 6e 29 3b 0d 65 78 74 65 |dle hCon|n);.exte|
|00001a00| 72 6e 20 70 61 73 63 61 | 6c 20 76 6f 69 64 20 09 |rn pasca|l void .|
|00001a10| 09 43 4d 53 65 74 55 73 | 65 72 44 61 74 61 28 43 |.CMSetUs|erData(C|
|00001a20| 6f 6e 6e 48 61 6e 64 6c | 65 20 68 43 6f 6e 6e 2c |onnHandl|e hConn,|
|00001a30| 20 6c 6f 6e 67 20 75 73 | 65 72 44 61 74 61 29 3b | long us|erData);|
|00001a40| 0d 0d 23 69 66 64 65 66 | 20 5f 5f 73 61 66 65 5f |..#ifdef| __safe_|
|00001a50| 6c 69 6e 6b 0d 7d 0d 23 | 65 6e 64 69 66 0d 0d 23 |link.}.#|endif..#|
|00001a60| 65 6e 64 69 66 00 00 00 | 00 00 00 00 00 00 00 00 |endif...|........|
|00001a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001a80| 00 00 01 00 00 00 01 29 | 00 00 00 29 00 00 00 32 |.......)|...)...2|
|00001a90| 61 63 74 69 76 61 74 65 | 4d 73 67 09 09 45 51 55 |activate|Msg..EQU|
|00001aa0| 20 09 37 0d 0d 74 6d 49 | 64 6c 65 4d 73 67 09 09 | .7..tmI|dleMsg..|
|00001ab0| 08 43 4d 49 6e 74 66 2e | 68 49 02 00 00 00 54 45 |.CMIntf.|hI....TE|
|00001ac0| 58 54 4d 50 53 20 01 00 | 00 00 00 00 00 00 00 00 |XTMPS ..|........|
|00001ad0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 00 00 00 |..TEXTMP|S ......|
|00001ae0| 00 00 59 20 00 00 00 00 | 00 00 00 00 00 00 00 00 |..Y ....|........|
|00001af0| 00 00 a1 88 fa 80 00 00 | 19 e5 00 00 01 5b 7a 65 |........|.....[ze|
|00001b00| 4d 73 67 09 09 09 45 51 | 55 20 09 31 30 32 0d 74 |Msg...EQ|U .102.t|
|00001b10| 6d 55 70 64 61 74 65 4d | 73 67 09 09 09 45 51 55 |mUpdateM|sg...EQU|
|00001b20| 09 31 30 33 0d 74 6d 43 | 6c 69 63 6b 4d 73 67 09 |.103.tmC|lickMsg.|
|00001b30| 09 09 45 51 55 09 31 30 | 34 0d 74 6d 47 65 74 53 |..EQU.10|4.tmGetS|
|00001b40| 65 6c 65 63 74 69 6f 6e | 4d 73 67 09 45 51 55 09 |election|Msg.EQU.|
|00001b50| 31 30 35 0d 74 6d 53 65 | 74 53 65 6c 65 63 74 69 |105.tmSe|tSelecti|
|00001b60| 6f 6e 4d 73 67 09 45 51 | 55 09 31 30 36 0d 74 6d |onMsg.EQ|U.106.tm|
|00001b70| 53 63 72 6f 6c 6c 4d 73 | 67 09 09 09 45 51 55 09 |ScrollMs|g...EQU.|
|00001b80| 00 00 00 25 01 00 80 00 | 00 00 03 31 2e 30 1a 43 |...%....|...1.0.C|
|00001b90| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 73 20 54 6f |ommunica|tions To|
|00001ba0| 6f 6c 62 6f 78 20 31 2e | 30 00 00 01 00 00 00 01 |olbox 1.|0.......|
|00001bb0| 29 00 00 00 29 00 00 00 | 32 00 1a 94 08 09 ec 00 |)...)...|2.......|
|00001bc0| 00 00 1c 00 32 00 00 76 | 65 72 73 00 00 00 0a 00 |....2..v|ers.....|
|00001bd0| 02 ff ff 00 00 00 00 00 | 1a 94 20 00 00 00 00 00 |........|.. .....|
|00001be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+